package com.yonyou.pmclouds.workConnect.service.rmiitf;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.workConnect.entity.WorkConReceiverVO;

import java.util.List;
import java.util.Map;

/**
 * 工作联系子表-接收人信息，查询接口
 *
 * @author 唐焕
 * @date 2018.8.17
 */
public interface WorkConReceiverQuery {

    WorkConReceiverVO queryById(String id) throws BusinessException;

    WorkConReceiverVO[] queryByIds(String[] ids) throws BusinessException;

    // 通过工作联系id查找对应的多个接收人的信息
    WorkConReceiverVO[] queryByWorkConnect(String pkWorkconnect) throws BusinessException;

    // 查询工作联系单下未被接收的接收人信息
    WorkConReceiverVO[] queryNotAcceptedVOs(String pkWorkconnect) throws BusinessException;

    WorkConReceiverVO queryByPkWorkconnectAndPkReceiver(String pkWorkconnect, String pkReceiver) throws BusinessException;

    Map<String,List<String>> queryByPkConnects(String[] pkWorkconnects) throws BusinessException;

    WorkConReceiverVO[] queryByWorkConnects(String[] pkWorkconnects) throws BusinessException;
}
